import { createRouter,createWebHashHistory } from "vue-router";
import ProductList from "../components/ProductList.vue";
const routes=[
    {
        path:"/",
        name:"home",
        component:()=>import("../components/ProductList.vue")
    },
    {
        path:"/productList",
        name:"productList",
        component:ProductList
    },
    {
        path:"/shoppingCar",
        name:"shoppingCar",
        component:()=>import("../components/ShoppingCar.vue")
    },

]
const router=createRouter({
    history:createWebHashHistory(),
    routes
})
export default router